﻿﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WebControl.aspx.cs" Inherits="WebControl" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <%--  可以运行在<form>表单之外，不过一般不建议放在表单外面
    <a href="#" runat="server">content</a>
    <asp:Literal ID="Literal1" runat="server"></asp:Literal>
     --%>
    <form id="form1" runat="server">
        <div>
            <asp:Button ID="BtnTest" runat="server" Text="测试按钮" Height="200px" OnClick="BtnTest_Click" Width="200px" />
        </div>
    </form>
</body>
</html>